package cn.tedu.sp09.feign;


import cn.tedu.sp01.pojo.Order;
import cn.tedu.web.util.JsonResult;
import lombok.extern.apachecommons.CommonsLog;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
@Component
public class OrderClientFB implements OrderClient {


    @Override
    public JsonResult<Order> getorder(String orderId) {
        return JsonResult.err().msg("获取订单失败");
    }

    @Override
    public JsonResult<?> addOrder() {
        return JsonResult.err().msg("增加订单失败");
    }
}
